package com.yc.mybatis.damai.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/7/27
 * Email haijunzhou@hnit.edu.cn
 */
@Data
@TableName("dm_category")
public class Category {

    // auto 表示主键值 自增
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String cname;
    private Integer pid;
}
